#ifndef INSERTS_H
#define INSERTS_H
#include "ado/stdafx.h"
#include <iostream>
#include <cstdarg>
#include <map>
#include <iterator>
#include "standard/DBConfig.h"
#include "Database.h"


class ADOLIB1_API  Inserts : public Database
{
public:
    Inserts(void *db);
    static Inserts *init(void *db);
    Inserts *insertp(std::map<std::string, std::string> setstr);
    int create();
    ~Inserts();
    
private:
    std::string m_classname;    
    std::map<std::string, std::string> m_setstr;        
    static Inserts *_init;
    class CGarbo {public: ~CGarbo(){if (Inserts::_init) delete Inserts::_init;}};
    static CGarbo Garbo; 
};



#endif
